
package org.amos.gen.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.amos.core.basic.base.BaseEntity;

/**
 * 代码生成字段信息配置
 *
 * @author CodeGenerator
 * @since 2021-01-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_gen_valid_info")
@Schema(name = "AmosGenValidInfo对象", description = "代码生成字段信息配置")
public class GenValidInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "表名称")
    private String tableName;

    @Schema(description = "列名称")
    private String columnName;

    @Schema(description = "列类型")
    private String columnType;

    @Schema(description = "校验提示")
    private String validPrompt;

    @Schema(description = "实体类备注")
    private String comment;

    @Schema(description = "是否必填（0:是,1:否）")
    private Boolean isNotNull;

    @Schema(description = "校验规则")
    private String validType;

}
